<extend name="Public/layout" />

<block name="content">
    <section class="wrapper site-min-height">
        <!-- page start-->
        <div class="row">
            <div class="col-md-12">
                <section class="panel">
                    <header class="panel-heading">
                        查看短信模版
                    </header>
                    <div class="panel-body">
                        <table class="table table-bordered">
                            <thead>
                            <tr>
                                <th width="15%">名称</th>
                                <th>数据详情</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td>短信模版ID</td>
                                <td>{$tmp.id}</td>
                            </tr>
                            <tr>
                                <td>短信模版标题</td>
                                <td>{$tmp.title}</td>
                            </tr>

                            <tr>
                                <td>短信模版标识</td>
                                <td>{$tmp.type}</td>
                            </tr>

                            <tr>
                                <td>短信模版内容</td>
                                <td>{$tmp.content}</td>
                            </tr>

                            <tr>
                                <td>短信模版状态</td>
                                <td>{$tmp['status']?'禁用中':'启用中'}</td>
                            </tr>

                            <tr>
                                <td>添加时间</td>
                                <td>{$tmp.add_time|date='Y-m-d H:i:s',###}</td>
                            </tr>
                            <tr>
                                <td>添加IP</td>
                                <td>{$tmp.add_ip}</td>
                            </tr>
                            <tr>
                                <td>更新时间</td>
                                <td>{$tmp.up_time|date='Y-m-d H:i:s',###}</td>
                            </tr>
                            <tr>
                                <td>更新IP</td>
                                <td>{$tmp.up_ip}</td>
                            </tr>

                            </tbody>
                        </table>
                    </div>
                </section>
            </div>
        </div>
        <!-- page end-->
    </section>
</block>

<block name="javascript">
    <script>
        //菜单高亮
        MenuHighlight('{:U("Admin/SmsTemplate/index")}');
    </script>
</block>